/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entities.Subject;
import java.util.List;

/**
 *
 * @author Oksana_Moroz
 */
public interface SubjectDao {

    void create(Subject subject);

    List<Subject> findAll();

    Subject findById(Integer id);

    Subject findByName(String name);
}
